import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'


//参与机构业务管理通知报文查询
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsInformation/statusDownloadApply/ccmsBusinessDownloadApplyQuery/search`,
}

//参与机构业务管理通知报文查询
export const apiUrlConfigQueryDetail = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsInformation/statusDownloadApply/ccmsBusinessDownloadApplyQuery/detailSearch`,
}

// 参与机构业务管理状态下载申请报文
export function ccmsBusinessDownloadApplyEntrySave(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/statusDownloadApply/ccmsBusinessDownloadApplyEntry/save`,
    method: 'post',
    data:data
  })
}

// 参与机构业务管理状态下载申请报文查询-详细
export function ccmsBusinessDownloadApplyQueryDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/statusDownloadApply/ccmsBusinessDownloadApplyQuery/detail`,
    method: 'get',
    params: { id:data.id }
  })
}

